import React, { Component } from 'react';
import { Card, WhiteSpace, List, Badge, Flex, Icon, NavBar, WingBlank } from 'antd-mobile';
import {  LeftOutlined, } from '@ant-design/icons';
import { Link } from "react-router-dom";


import { BackTop } from 'antd';
export default class MsgCard extends Component {
    constructor(props) {
        super(props)
    }
    a = () => {
        console.log(1);
    }
    //在componentDidMount，进行scroll事件的注册，绑定一个函数，让这个函数进行监听处理
    componentDidMount() {
    }

    render() {
        const Item = List.Item;

        return (
            <div>
                <BackTop visibilityHeight={200}></BackTop>
                <NavBar
                    leftContent={<Link to='/home'><LeftOutlined style={{ fontSize: 20, color: '#fff' }} /></Link>}
                > <span style={{ fontSize: 16 }}>点赞</span></NavBar>
                
            </div>
        )
    }
}
